﻿@page "/datagrid-single-selection"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    DataGrid <strong>Single Selection</strong>
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Allow one row to be selected at a time for focused interactions.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo the first employee is pre-selected on load, the selected employee's name is displayed above the grid, and a <strong>Clear Selection</strong> button resets the selection binding to null.
</RadzenText>

<RadzenExample ComponentName="DataGrid" Example="DataGridSingleSelection">
    <DataGridSingleSelection />
</RadzenExample>
